package com.message.tcp.ip.ui.member;

import javax.swing.JTabbedPane;

import com.message.tcp.ip.ui.bin.panel.BinPanel;

public class ConfigureTabbedPane extends JTabbedPane {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private DataElementPanel dataElementPanel;
	private KeyManagementPanel keyManagementPanel;
	public ConfigureTabbedPane(MemberPanel memberPanel, BinPanel binPanel, AccountPanel accountPanel,TransactionPanel transactionPanel){
		this.setTabPlacement(JTabbedPane.BOTTOM);
		dataElementPanel = new DataElementPanel();
		keyManagementPanel = new KeyManagementPanel();
		this.addTab("Member", null, memberPanel, "Member set up");
		this.addTab("BIN", null, binPanel, "BIN set up");
		this.addTab("Account", null, accountPanel,"Card account set up");
		this.addTab("Transaction", null, transactionPanel,"Transaction set up");
		this.addTab("Data Element", null, dataElementPanel,"Data Element Set up");
		this.addTab("Key Management", null, keyManagementPanel, "Network key set up");
	}
}
